{include file="$AdminFullPath/skins/$DefaultSkin/header.tpl" title=foo}

<table width="100%">
  <tr>
    <td class="module_title" nowrap>
      <a href="index.php">{$SiteTitle}</a> &raquo; <a href="{$PHPSELF}?mod={$mod}">{$OrbitFAQTitle}</a> &raquo; Modify Existing FAQ
    </td>
  </tr>
</table>
<br />

<table cellspacing="1" class="index_body">

  {if $Errors != ''}
  <tr>
    <td colspan="2">
      <table width="100%" class="message_tbl">
        <tr>
          <td style="vertical-align: bottom;" width="20">
            <img src="skins/{$DefaultSkin}/images/error.png">
          </td>
          <td class="message" nowrap>
            <b>We found some errors with your posting. Please solve the following:<br /></b>
            {$Errors}
          </td>
        </tr>
      </table>
    </td>
  </tr>
  {/if}

  <tr>
    <td>
      <form ACTION="{$PHPSELF}?mod={$mod}&action=modify&user={$posted_id}&posted=yes" METHOD="post" NAME="FORM_MODIFY_FAQ">
        <table style="width: 400px">
          <tr>
            <td nowrap>
              Full Name:
            </td>
            <td nowrap>
              <input type="text" class="post postbig" name="posted_fullname" value="{$posted_fullname}" />
            </td>
          </tr>
          <tr>
            <td nowrap>
              Email Address:
            </td>
            <td nowrap>
              <input type="text" class="post postbig" name="posted_login" value="{$posted_login}" />
            </td>
          </tr>
          <tr>
            <td nowrap>
              Phone:
            </td>
            <td nowrap>
              <input type="text" class="post postbig" name="posted_phone" value="{$posted_phone}" />
               (optional)
            </td>
          </tr>
          <tr>
            <td nowrap>
              Occupation:
            </td>
            <td nowrap>
              <input type="text" class="post postbig" name="posted_occupation" value="{$posted_occupation}" />
               (optional)
            </td>
          </tr>
          <tr>
            <td nowrap>
              MSN:
            </td>
            <td nowrap>
              <input type="text" class="post postbig" name="posted_msn" value="{$posted_msn}" />
               (optional)
            </td>
          </tr>
          <tr>
            <td nowrap>
              City:
            </td>
            <td nowrap>
              <input type="text" class="post postbig" name="posted_city" value="{$posted_city}" />
               (optional)
            </td>
          </tr>
          <tr>
            <td nowrap>
              Country:
            </td>
            <td nowrap>
              <select class="post postbig" name="posted_country">
                {include file="$AdminFullPath/skins/$DefaultSkin/country_pulldown.tpl"}
              </select>
               (optional)
            </td>
          </tr>
          <tr>
            <td nowrap valign="top">
              Manage FAQs:<br />
              All/None <input type="checkbox" onclick="selectAllOptions( this, 'posted_faqs[]' )" />
            </td>
            <td nowrap>
                <select MULTIPLE size="5" name="posted_faqs[]" class="post postbig">
                  {section name=FAQPulldown loop=$FAQPulldown}
                  <option value="{$FAQPulldown[FAQPulldown].faq_id}" {$FAQPulldown[FAQPulldown].faq_selected}>{$FAQPulldown[FAQPulldown].faq_title}</option>
                  {/section}
                </select>
             </td>
          </tr>
          <tr>
            <td colspan="2" nowrap><br /><br />
              <center><input class="button" type="submit" value="save" /></center>
            </td>
          </tr>
        </table>
      </form>

    </td>
  </tr>

</table>

{include file="$AdminFullPath/skins/$DefaultSkin/footer.tpl"}